//
// Generated from addCPPProject.sh, by onio@debian (Sun, 11 Nov 2012 19:08:31 +0100)
//
#include <iostream>
#include <cstdlib>
#include <cstdio>
#include "VRPTW.hpp"
#include "Tournee.hpp"
#include "Solution.hpp"
#include "App.hpp"

/*
int main(int argc, char** argv)
{
    
    try
    {
        TourneeEvalResult       eval;
        
        if (argc != 2)
        {
            std::cerr << "./prog instance.txt" << std::endl;
            exit(EXIT_FAILURE);
        }
        
        VRPTW	vrptw(argv[1]);
        Solution    s(vrptw);
        Tournee t(vrptw, s, 0);
        
        vrptw.print();
        
        
        std::cout << t.toString() << std::endl;
        t.insertClient(Tournee::INSERT_BEGIN, 10);
        std::cout << t.toString() << std::endl;
        t.eval(&eval);
        std::cout << eval.toString() << std::endl;
        
        t.insertClient(Tournee::INSERT_BEGIN, 12);
        
        std::cout << t.toString() << std::endl;
        t.eval(&eval);
        std::cout << eval.toString() << std::endl;
        
        t.insertClient(Tournee::INSERT_END, 13);
        
        std::cout << t.toString() << std::endl;
        t.eval(&eval);
        std::cout << eval.toString() << std::endl;
        
        t.insertClient(Tournee::INSERT_BETWEEN, 9, DEPOT, 12);
        
        std::cout << t.toString() << std::endl;
        t.eval(&eval);
        std::cout << eval.toString() << std::endl;
        
        t.insertClient(Tournee::INSERT_BETWEEN, 14, 13, DEPOT);

        std::cout << t.toString() << std::endl;
        t.eval(&eval);
        std::cout << eval.toString() << std::endl;

        
        t.erase(10);
        
        std::cout << t.toString() << std::endl;
        t.eval(&eval);
        std::cout << eval.toString() << std::endl;
        
        t.insertClient(Tournee::INSERT_BETWEEN, 2, 14, DEPOT);

        std::cout << t.toString() << std::endl;
        t.eval(&eval);
        std::cout << eval.toString() << std::endl;

        
        
        t.clear();
        std::cout << t.toString() << std::endl;
        
        //std::cout << "used ? " << vrptw[10].used() << std::endl;
        //t.insertClient(Tournee::INSERT_BEGIN, 10);
    }
    catch(Exc& e)
    {
        e.printStackTrace();
        e.printMsg();
    }
    
    return (0);
}
*/


int main(int argc, char** argv)
{
    //srand(time(NULL));
    App app;
    return (app.exec(argc, argv));
}


